package org.swust.sysmonitorapp.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "amqp")
public class AmqpProperties {

    private String host = "2724617292.st1.iotda-app.cn-north-4.myhuaweicloud.com";
    private int port = 5671;
    private String accessKey = "7EvIC0nM";
    private String accessCode = "C3wJfUTLB2s7UgJAeDOfvywd8ARmzDCM";
    private String queue = "DefaultQueue";
    private int prefetch = 100;
}
